import { Connection } from "typeorm";

export const UserProvider = [{
    provide:'UserRepository',
    useFactory:async (connection:Connection) => connection.getRepository('token'),
    inject:['typeormToken']
}]